package FinalTest9;

public class MyStringTest {
    public static void main(String[] args) {
        String f1="hello java";
        String f2="hello java";
        if (f1.equals(f2)){
            String f11=f1.replace(" ","");
            System.out.println(f11);
            String f12=f11.replace("java","world");
            System.out.println(f12);
        }

    }
}
